// 存放一些组件默认配置
import type { TableProps } from 'ant-design-vue'

export const defaultTableProps: TableProps = {
  transformCellText({ text }) {
    if (!text || (Array.isArray(text) && text.length === 0)) {
      return '-'
    }
    return text
  },
  rowKey: 'id',
}
